[INFO] cloning repository https://github.com/MarkusEicher/rusttest
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MarkusEicher/rusttest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusEicher%2Frusttest", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusEicher%2Frusttest'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9f031e787bdc081bcfc592e97c0454add8a614b8
[INFO] fixing MarkusEicher/rusttest against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMarkusEicher%2Frusttest" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MarkusEicher/rusttest
[INFO] finished tweaking git repo https://github.com/MarkusEicher/rusttest
[INFO] tweaked toml for git repo https://github.com/MarkusEicher/rusttest written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MarkusEicher/rusttest on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MarkusEicher/rusttest already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2
[INFO] running `Command { std: "docker" "start" "eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking exercises v0.1.0 (/opt/rustwide/workdir/exercises)
[INFO] [stderr]     Checking testapp v0.1.0 (/opt/rustwide/workdir/testapp)
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p1_e01.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{self, BufRead, BufReader, Lines};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking hello_world v0.1.0 (/opt/rustwide/workdir/hello_world)
[INFO] [stderr]     Checking testlib v0.1.0 (/opt/rustwide/workdir/testlib)
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in a[a_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `IntoIterator` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `[i32]: IntoIterator` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in &a[a_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 26 |     for elem in &mut a[a_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in a[a_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `Sized` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `Sized` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in &a[a_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 26 |     for elem in &mut a[a_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in b[b_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `IntoIterator` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `[i32]: IntoIterator` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in &b[b_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 29 |     for elem in &mut b[b_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in b[b_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `Sized` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `Sized` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in &b[b_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 29 |     for elem in &mut b[b_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MyError` is never used
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p2_e01.rs:27:6
[INFO] [stdout]    |
[INFO] [stdout] 27 | enum MyError{ InvalidName,IOError( io::Error),
[INFO] [stdout]    |      ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in a[a_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `IntoIterator` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `[i32]: IntoIterator` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in &a[a_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 26 |     for elem in &mut a[a_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in a[a_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `Sized` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `Sized` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 26 |     for elem in &a[a_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 26 |     for elem in &mut a[a_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in b[b_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `IntoIterator` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `[i32]: IntoIterator` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in &b[b_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 29 |     for elem in &mut b[b_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `[i32]` is not an iterator
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p3_e01.rs:29:17
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in b[b_idx..] {
[INFO] [stdout]    |                 ^^^^^^^^^^ the trait `Sized` is not implemented for `[i32]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the trait bound `Sized` is not satisfied
[INFO] [stdout]    = note: required for `[i32]` to implement `IntoIterator`
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 29 |     for elem in &b[b_idx..] {
[INFO] [stdout]    |                 +
[INFO] [stdout] 29 |     for elem in &mut b[b_idx..] {
[INFO] [stdout]    |                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p2_e01.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     io::stdout().flush();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let _ = io::stdout().flush();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p2_e01.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     io::stdin().lock().read_line(&mut input); input=input.trim().to_string();
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let _ = io::stdin().lock().read_line(&mut input); input=input.trim().to_string();
[INFO] [stdout]    |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `exercises` (bin "k2_l3_p3_e01" test) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `exercises` (bin "k2_l3_p3_e01") due to 4 previous errors
[INFO] [stdout] warning: unused import: `self`
[INFO] [stdout]   --> exercises/src/bin/k2_l3_p1_e01.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::io::{self, BufRead, BufReader, Lines};
[INFO] [stdout]    |               ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2", kill_on_drop: false }`
[INFO] [stdout] eb335086c517299feb1439a130afb4a57c7bf0cbd41dffbbaeb9b7bc901c53a2
